package com.ruoyi.teacher.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 老师对象 t_teacher
 * 
 * @author wwb
 * @date 2022-12-25
 */
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 工号 */
    @Excel(name = "工号")
    private String wno;

    /** 学科 */
    @Excel(name = "学科")
    private String subject;

    /** 校区 */
    @Excel(name = "校区")
    private String campus;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 帮扶优先级 */
    @Excel(name = "帮扶优先级")
    private Long priority;

    /** 老师类型 */
    @Excel(name = "老师类型")
    private String teacherType;

    /** 上级组长 */
    @Excel(name = "上级组长")
    private Long superior;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date insertTime;

    /** 是否删除 */
    private Long isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setWno(String wno) 
    {
        this.wno = wno;
    }

    public String getWno() 
    {
        return wno;
    }
    public void setSubject(String subject) 
    {
        this.subject = subject;
    }

    public String getSubject() 
    {
        return subject;
    }
    public void setCampus(String campus) 
    {
        this.campus = campus;
    }

    public String getCampus() 
    {
        return campus;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPriority(Long priority) 
    {
        this.priority = priority;
    }

    public Long getPriority() 
    {
        return priority;
    }
    public void setTeacherType(String teacherType) 
    {
        this.teacherType = teacherType;
    }

    public String getTeacherType() 
    {
        return teacherType;
    }
    public void setSuperior(Long superior) 
    {
        this.superior = superior;
    }

    public Long getSuperior() 
    {
        return superior;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setInsertTime(Date insertTime) 
    {
        this.insertTime = insertTime;
    }

    public Date getInsertTime() 
    {
        return insertTime;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("wno", getWno())
            .append("subject", getSubject())
            .append("campus", getCampus())
            .append("phone", getPhone())
            .append("priority", getPriority())
            .append("teacherType", getTeacherType())
            .append("superior", getSuperior())
            .append("sex", getSex())
            .append("insertTime", getInsertTime())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
